﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ObviousCode.Aspect.PluginLibrary.Interfaces;
using System.ComponentModel;
using ZooKeeperSample.AnimalRegister.Animals;

namespace ObviousCode.UI.Aspect.TestHarness.Objects
{
    public enum Province
    {
        Anhui, Gansu, Hainan, Hong, Kong, Jiangxi, NeiMongol, Shandong, Tianjin, Zhejiang,
        Beijing, Guangdong, Hebei, Hubei, Jilin, Ningxia, Shanghai, Tibet,
        Chongqing, Guangxi, Heilongjiang, Hunan, Liaoning, Qinghai, Shanxi, Xinjiang,
        Fujian, Guizhou, Henan, Jiangsu, Macau, Shaanxi, Sichuan, Yunnan
    }

    public class Panda : Animal<Panda>
    {
        Province _province;

        public Panda()
        {
            Name = "New Panda";
            
            GroupingTag = "Mammal";
        }

        
        public Province ProvinceOfOrigin
        {
            get { return _province; }
            set 
            { 
                _province = value;
                NotifyPropertyChange("Province");
            }
        }

        [Browsable(false)]
        public string TypeName { get { return "Carnivora"; } }                

    }
}
